package com.jiyun.pojo.day05;
/*
 * @Author:limengyao
 * @Date:2023-08-09 10:58
 * @Filename:Compet
 *
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("compet")
public class Compet implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private  Integer id;
    private  String cname;
    private  Integer depts;
    @TableField(value = "dept_status")
    private  Integer deptStatus;
    @TableField(value = "dept_way")
    private  String deptWay;
    private  String allman;
    private  String starts;
    private  String startman;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date starttime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endtime;
    private  String sorts;
    private  String status;
    private  String img;
    private  String persons;
    private  Integer depts1;
    private  String haibao;
    private  String fx1;
    private  String fx2;
    private  String fx3;

}
